package com.shanwen.shopping.entity;

//import com.classic.common.banner.interfaces.AbsBanner;

import java.io.Serializable;

/**
 * Created by classic on 16/4/3.
 */
public class Banner implements Serializable {
    private static final long serialVersionUID = 9029829635675806748L;

    /** banner的详情url地址 */
    private String bannerUrl;
    /** banner内容，String类型，通常保存商品主键编号列表 */
    private String content;
    private long id;
    /** banner名称 */
    private String name;
    /** banner封面入口图片url */
    private String picUrl;
    /** */
    private int relateType;
    private long shopId;
    /** banner短简介 */
    private String shortDesc;
    /** banner标签：1==打折活动；2==促销活动；3==热销活动；4==优惠活动；5==抢购活动；6==新品上市活动 */
    private int tag;
    /** banner标题 */
    private String title;
    /** banner类型：1==单个商品；2==多个商品 */
    private int type;

//    @Override
//    public String getBannerDescription() {
//        return this.title;
//    }
//
//    @Override
//    public String getBannerCoverUrl() {
//        return this.picUrl;
//    }

    public String getBannerUrl() {
        return bannerUrl;
    }

    public void setBannerUrl(String bannerUrl) {
        this.bannerUrl = bannerUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }

    public int getRelateType() {
        return relateType;
    }

    public void setRelateType(int relateType) {
        this.relateType = relateType;
    }

    public long getShopId() {
        return shopId;
    }

    public void setShopId(long shopId) {
        this.shopId = shopId;
    }

    public String getShortDesc() {
        return shortDesc;
    }

    public void setShortDesc(String shortDesc) {
        this.shortDesc = shortDesc;
    }

    public int getTag() {
        return tag;
    }

    public void setTag(int tag) {
        this.tag = tag;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }
}
